//
//  UserUntils.h
//  DailyRecord
//
//  Created by Gin on 2022/3/25.
//

#import <Foundation/Foundation.h>
#import "User.h"

NS_ASSUME_NONNULL_BEGIN

@interface UserUntils : NSObject

@property (nonatomic, strong, nullable) User *user;

SYNTHESIZE_SINGLETON_FOR_CLASS_HEADER(UserUntils);

- (Boolean)userIsLogined;

- (void)updateUser:(User *)user;

- (void)logoutAndFlush;

@end

NS_ASSUME_NONNULL_END
